export default (Vue, vm) => {
	uni.$api = {
		//登录模块
		login: {
			// 用户登录
			userLogin: async (params = {}) => await uni.$request.get("/mobileEmpLog/login", {
				...params
			}),
			// 退出登录 /mobileEmpLog/logout
			outLogin: async (params = {}) => await uni.$request.get("/mobileEmpLog/logout", {
				...params
			}),
			// 验证码登录
			codeLogin: async (params = {}) => await uni.$request.get("/mobileEmpLog/codeLogin", {
				...params
			}),
			// 获取验证码
			getCode: async (params = {}) => await uni.$request.get("/mobileEmpLog/getVerifica", {
				...params
			}),
			// 微信登录
			userWeChatLogin: async (code) => await uni.$request.post(`/mobileEmpLog/WeChatLogin?code=${code}`),
			// 判断是否绑定小程序
			isBindingWeChat: async (acId) => await uni.$request.get(`/mobileEmpLog/isBindingWeChat?acId=${acId}`),
			// 绑定微信小程序
			bindingWeChat: async (code = '',acId = '') => await uni.$request.post(`/mobileEmpLog/bindingWeChat?code=${code}&acId=${acId}`),
			
			// 选择角色
			getUser: async (params = {}) => await uni.$request.post("/mobileEmpLog/dologin", {
				...params
			}),
			// 获取用户信息mobileEmpLog/queryEmp
			getUserLog: async (params = {}) => await uni.$request.get("/mobileEmpLog/queryEmp", {
				...params
			}),
			// 费用信息跟备件信息的数量接口mobileWorkList/spareAndFeeStatistics
			getspareAndFeeStatistics: async (params = {}) => await uni.$request.get(
				"/mobileWorkList/spareAndFeeStatistics", {
					...params
				}),
		},
		work: {
			getWorknum: async (params = {}) => await uni.$request.get("/mobileWorkList/findWorkOrderNews", {
				...params
			}),
			// 获取工单列表
			getWrokList: async (params = {}) => await uni.$request.get("/mobileWorkList/select", {
				...params
			}),
			// 获取备件记录
			getWorkSpare: async (params = {}) => await uni.$request.get(
			"/mobileWorkSpare/findOrderDeatiledRecord", {
				...params
			}),
			// 获取费用记录/mobileWorkorderFee/feeRecord
			getfeeRecord: async (params = {}) => await uni.$request.get("/mobileWorkorderFee/feeRecord", {
				...params
			}),
			// 返厂列表/workCallbackRepair/51/getCallbackList
			getWorkCallbackRepair: async (custAccId = '', data = {}) => await uni.$request.post(
				`/mobileWorkCallbackRepair/${custAccId}/getCallbackLis`, data),
			// 工单操作日志/mobileDetail/logRecord
			getlogRecord: async (params = {}) => await uni.$request.get('/mobileDetail/logRecord', {
				...params
			}),
			// 搜索项/mobileWorkSet/select
			getwWorkSearch: async (params = {}) => await uni.$request.get('/mobileWorkSet/select', {
				...params
			}),
			// 搜索项-模块//mobileWorkSelect/modules
			getWorkmodule: async (params = {}) => await uni.$request.get('/mobileWorkSelect/modules', {
				...params
			}),
			// 搜索项-品牌//mobileWorkSelect/brand
			getWorkBrand: async (params = {}) => await uni.$request.get('/mobileWorkSelect/brand', {
				...params
			}),
			// 搜索项-分类//mobileWorkSelect/produstType
			getWorkProdust: async (params = {}) => await uni.$request.get('/mobileWorkSelect/produstType', {
				...params
			}),
			// 搜索项-级别//mobileWorkSelect/service
			getWorkLevel: async (params = {}) => await uni.$request.get('/mobileWorkSelect/service', {
				...params
			}),
			// 搜索项-网点//cacheData/findNetworkList
			getWorkwd: async (params = {}) => await uni.$request.get('/cacheData/findNetworkList', {
				...params
			}),
			// 搜索项-客服//cacheData/findEmpList
			getWorkkf: async (params = {}) => await uni.$request.get('/cacheData/findEmpList', {
				...params
			}),
			// 搜索项-受理方式/mobileWorkAccept/list
			getWorkAccept: async (params = {}) => await uni.$request.get('/mobileWorkAccept/list', {
				...params
			}),
			// 查询分派客服/mobileWorkSelect/emp
			getKfList: async (params = {}) => await uni.$request.get('/mobileWorkSelect/emp', {
				...params
			}),
			// 选中客服/mobileWorkList/batchZd
			selectKf: async (params = {}) => await uni.$request.post('/mobileWorkList/batchZd', {
				...params
			}),
			// 网点列表/mobileWorkDispatchorderSelect/51/1718/487/findNetworkEmpIdByNetworkId
			getNetworkList: async (params = {}, custAccId = "", acId = "", empId = "") => await uni.$request.get(
				`mobileWorkDispatchorderSelect/${custAccId}/${acId}/${empId}/findNetworkEmpIdByNetworkId`, {
					...params
				}),
			// 工单备件列表/mobileWorkSpare/workSpareList
			getSpareList: async (params = {}) => await uni.$request.get('/mobileWorkSpare/workSpareList', {
				...params
			}),
			// 工单备件列表数量/mobileWorkSpare/workSpareListTotal
			getSpareListTotal: async (params = {}) => await uni.$request.get('/mobileWorkSpare/workSpareListTotal', {
				...params
			}),
			// 工单费用列表
			getMoneyList: async (params = {}) => await uni.$request.get('/mobileWorkFees/findFeeList', {
				...params
			}),
			// 费用详情
			getMoneyDetail: async (custAccId,acId,id) => await uni.$request.get(`/mobileWorkFees/WorkFeeInfo/${custAccId}/${acId}?id=${id}`),
			// 工单编码列表
			getCodeList: async (custAccId = "", acId = '', params = {}) => await uni.$request.post(
				`/mobileR_zjCode/${custAccId}/${acId}/findCodeList`, {
					custAccId,
					acId,
					...params,
				}),
			// 备件搜索/spareSelect/spareName
			getSpareSelect: async (params = {}) => await uni.$request.get('/spareSelect/spareName', {
				...params,
			}),
			// 备件仓库/spareSelect/findWarehousing
			findWarehousing: async (params = {}, custAccId = "") => await uni.$request.post(`/spareSelect/findWarehousing?custAccId=${custAccId}`, {
				...params,
			}),
			//获取备件详情
			findCheckSpareInfo: async (params = {}) => await uni.$request.get(`/workSpare/findCheckSpareInfo`, {
				...params,
			}),
			// 备件筛选字段/mobileWorkSelect/emp
			findemp: async (params = {}) => await uni.$request.get(`/mobileWorkSelect/emp`, {
				...params,
			}),
			// 备件网点查询字段
			findwd: async (params = {}) => await uni.$request.get(`/mobileWorkSelect/netWork`, {
				...params,
			}),
			// 新建工单,查询品牌下拉框选项
			findbrand: async (params = {}) => await uni.$request.get(`/mobileCodeSelect/brandSelect`, {
				...params,
			}),
			// 新建工单,查询分类下拉框选项
			findsort: async (params = {}) => await uni.$request.get(`/mobileSelect/findProType`, {
				...params,
			}),
			// 新建工单,查询型号下拉框选项
			findmodel:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/findProModel`, {
				...params,
			}),
			// 新建工单,查询规格下拉框选项
			findspec:async (params = {}) => await uni.$request.get(`/mobileSelect/findProSpec`, {
				...params,
			}),
			// 工单模块
			ordermodule:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/modules`, {
				...params,
			}),
			// 查询工单模块自定义字段/mobileModule/findModuleFieldByModuleId
			findModuleFieldByModuleId:async (params = {}) => await uni.$request.get(`/mobileModule/findModuleFieldByModuleId`, {
				...params,
			}),
			// 新建工单搜索用户账号/mobileWorkSelect/findEndCustomer
			finduserphone:async (custAccId='',params = {}) => await uni.$request.get(`/mobileWorkSelect/findEndCustomer/${custAccId}`, {
				...params
				
			}),
			// 获取用户信息/endcust/findInfoById
			findinfobyid:async (params = {}) => await uni.$request.get(`/endcust/findInfoById`, {
				...params
				
			}),
			// 新建工单查询工单分类/mobileWorkSelect/workType
			findworkType:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/workType`, {
				...params
				
			}),
			// 查询工单分类下级/mobileWorkSelect/workTypes
			findworkTypes:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/workTypes`, {
				...params
				
			}),
			// 查询处理方式/mobileWorkSelect/method
			findclfs:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/method`, {
				...params
				
			}),
			// 查询处理方式下级/mobileWorkSelect/method
			findclfschild:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/methods`, {
				...params
				
			}),
			// 查询受理方式/mobileWorkSelect/acceptance
			acceptance:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/acceptance`, {
				...params
				
			}),
			// 服务界别/mobileWorkSelect/service
			serviceliver:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/service`, {
				...params
				
			}),
			// 受理网点/cacheData/findNetworkList
			findnetworklist:async (params = {}) => await uni.$request.get(`/cacheData/findNetworkList`, {
				...params
				
			}),
			// 受理客服/mobileWorkSelect/emp
			findemp:async (params = {}) => await uni.$request.get(`/mobileWorkSelect/emp`, {
				...params
				
			}),
			// 上传图片接口fileImport/fileImportByWorkOrder
			uploadimg:async (custAccId='',params = {}) => await uni.$request.upload(`/fileImport/fileImportByWorkOrder/${custAccId}`, {
				...params
				// 好像custAccId是路径参数/51
			}),
			// 获取工单详情的接口/mobileDetail/workDetail
			getorderdetail:async (params = {}) => await uni.$request.get(`/mobileDetail/workDetail`, {
				...params
				
			}),
			// 获取工单详情接口2/mobileDetail/orderInfo
			getorderdetail2:async (params = {}) => await uni.$request.get(`/mobileDetail/orderInfo`, {
				...params
				
			}),
			// 获取工单详情产品的接口/mobileDetail/productInfo/
			getproductInfo:async (custAccId='',workId='') => await uni.$request.get(`/mobileDetail/productInfo/${custAccId}/${workId}`, {
				custAccId,
				workId,
			}),
			// 获取工单详情自定义字段的接口/mobileModuleField/findWorkFieldByWorkId
			getproductInfozdy:async (workId='',params={}) => await uni.$request.get(`/mobileModuleField/findWorkFieldByWorkId/${workId}`, {
				workId,
				...params
			}),
			// 修改各项保存接口/mobileDetail/upOrderInfo
			changeInfo:async (query={}) => await uni.$request.formData(`/mobileDetail/upOrderInfo`, {
				...query
			}),
			// 催单
			urgeOrder:async (query={}) => await uni.$request.get(`/mobileWorkList/urgeOrder`, {
				...query
			}),
			// 结单/mobileDetail/order
			okOrder:async (query={}) => await uni.$request.formData(`/mobileDetail/order`, {
				...query
			}),
			// 添加进展保存接口/mobileDetail/order
			saveLog:async (query={}) => await uni.$request.formData(`/mobileDetail/order`, {
				...query
			}),
			// 取消工单/workList/qzEndOrCancelOrder
			qzEndOrCancelOrder:async (query={}) => await uni.$request.get(`/mobileWorkList/qzEndOrCancelOrder`, {
				...query
			}),
			// 改派网点
			updateNet: async (custAccId = '',params = {}) => await uni.$request.post(`/mobileDetail/updateNet/${custAccId}`, {
				...params
			}),
			// 添加进展查询接口/mobileDetail/findWorkNode
			getLog:async (params) => await uni.$request.get(`/mobileDetail/findWorkNode`, {
				...params
			}),
			// 修改工单查询产品
			// /mobileWorkOrder/findWorkProduct?id=127159
			getWorkProduct:async (params) => await uni.$request.get(`/mobileWorkOrder/findWorkProduct`, {
				...params
			}),
			// 修改工单详情回显1/workOrder/findWorkInfo
			getWorkInfo:async (params) => await uni.$request.get(`/workOrder/findWorkInfo`, {
				...params
			}),
			// 修改工单详情回显2/workOrder/finWorkOrder
			getWorkInfo2:async (params) => await uni.$request.get(`/workOrder/finWorkOrder`, {
				...params
			}),
			// 修改工单保存接口/mobileWorkorder/createModifyWarranty/updateWorkorder 
			saveOrder:async (query) => await uni.$request.formData(`/mobileWorkorder/createModifyWarranty/updateWorkorder `,{...query}
			),
			// 新建工单
			newWorkOrder:async (query) => await uni.$request.formData(`/mobileWorkorder/createModifyWarranty/createOrder `,{...query}
			),
			// 修改工单查询自定义字段模块/moduleField/findWorkFieldByWorkId/122313?type=1
			changeOrderZdy:async (workId='',params={}) => await uni.$request.get(`/mobileModuleField/findWorkFieldByWorkId/${workId}`, {
				workId,
				...params
			}),
		},
		network: {
			// 网点列表接口/mobileNetwork/list
			findWarehousing: async (params = {}) => await uni.$request.post('/spareSelect/findWarehousing', {
				...params
			}),
			// 选择网点员工接口mobileWorkDispatchorderSelect/51/1718/487/findNetworkEmpIdByNetworkId
			getWdSelectKf: async (custAccId="",acId="",empId="",params = {}) => await uni.$request.get(`/mobileWorkDispatchorderSelect/${custAccId}/${acId}/${empId}/findNetworkEmpIdByNetworkId`, {
				...params
			}),
			getWdSelect: async (custAccId="",acId="",empId="",params = {}) => await uni.$request.get(`/mobileWorkDispatchorderSelect/${custAccId}/${acId}/${empId}/findNetworkInfoByWorkId`, {
				...params
			}),
			// 分派网点mobileWorkDispatchorder/51/1718/487/dispathchOrder
			getdispathchWd: async (custAccId="",acId="",empId="",params = {}) => await uni.$request.post(`/mobileWorkDispatchorder/${custAccId}/${acId}/${empId}/dispathchOrder`, {
				...params
			}),
			// 批量完成或取消工单
			batchOverOrCancelOrder: async (params = {}) => await uni.$request.post(`/mobileWorkList/batchOverOrCancelOrder`, {
				...params
			}),
			// 批量处理受理方式
			batchUpdateOrderInfo: async (params = {}) => await uni.$request.formData(`/detail/batchUpdateOrderInfo`, {
				...params
			}),
			
		},
		money2:{
			getServiceFees:async (params = {}) => await uni.$request.get(`/mobileWorkFees/ServiceFees`, {
				...params
			}),
			// 保存费用/mobileWorkorderFee/applyWorkFee
			commitMoney:async (params = {}) => await uni.$request.post(`/mobileWorkorderFee/applyWorkFee`, {
				...params
			}),
		},
		code:{
			// 类型/mobileCodeSelect/typeAllSelect
			getCodetype:async (params = {}) => await uni.$request.get(`/mobileCodeSelect/typeAllSelect`, {
				...params
			}),
			// 模糊搜索/mobileR_zjCode/51/1718/findCodeList
			getCodeSearch:async (custAccId='',acId='',params = {}) => await uni.$request.post(`/mobileR_zjCode/${custAccId}/${acId}/findCodeList`, {
				...params
			}),
		},
		custom:{
			// 获取客户列表/mobileEndcust/endCustList
			getCustom:async (params = {}) => await uni.$request.get(`/mobileEndcust/endCustList/`, {
				...params
			}),
			
			// 获取客户详情
			getCustomInfo:async (custAccId='',acId='',id='') => await uni.$request.get(`/mobileEndcust/custInfo/${custAccId}/${acId}?id=${id}`),
			// 获取客户关联产品
			getCustomProduct:async (userId='') => await uni.$request.get(`/mobileEndcust/relapro?userId=${userId}`),
			// 获取客户关联工单
			getCustomWork:async (userId='') => await uni.$request.get(`/mobileEndcust/relaWorkOrder?userId=${userId}`),
			
			// /endcust/endCustList客户列表模糊搜索
			searchCustom:async (params = {}) => await uni.$request.get(`/mobileEndcust/endCustList/`, {
				...params
			}),
			// 修改客户密码/mobileEndcust/updatePwd/
			changePas:async (acId='',params = {}) => await uni.$request.post(`/mobileEndcust/updatePwd/${acId}`, {
				...params
			}),
			// 查询客户资料/mobileEndcust/findcustInfo
			getCustomMess:async (params = {}) => await uni.$request.get(`/mobileEndcust/findcustInfo`, {
				...params
			}),
		},
		spare:{
			// 获取备件/spareSelect/spareName
			getSpare:async (params = {}) => await uni.$request.get(`/spareSelect/spareName`, {
				...params
			}),
			// 用户地址/mobileDetail/findUserAddr
			getUserAddress:async (params = {}) => await uni.$request.get(`/mobileDetail/findUserAddr`, {
				...params
			}),
			// 网点地址/mobileDetail/findNetAddr
			getNetWorkAddress:async (params = {}) => await uni.$request.get(`/mobileDetail/findNetAddr`, {
				...params
			}),
			// 查询备件规格/spareSelect/findSpareParts
			getSpareParts:async (params = {}) => await uni.$request.get(`/spareSelect/findSpareParts`, {
				...params
			}),
			// 备件保存/mobileDetail/addApplySpare
			saveSpare:async (query = {}) => await uni.$request.post(`/mobileDetail/addApplySpare`, {
				...query
			}),
			// 备件查询/mobileWorkSpare/findCheckSpareInfo
			findCheckSpareInfo:async (query = {}) => await uni.$request.get(`/mobileWorkSpare/findCheckSpareInfo`, {
				...query
			}),
			// 备件保存/mobileWorkSpare/checkSpare
			checkSpare:async (query = {}) => await uni.$request.post(`/mobileWorkSpare/checkSpare`, {
				...query
			}),
			// 用户地址/mobileDetail/findUserAddr
			findUserAddr:async (query = {}) => await uni.$request.get(`/mobileDetail/findUserAddr`, {
				...query
			}),
			// 网点地址/mobileDetail/findNetAddr
			findNetAddr:async (query = {}) => await uni.$request.get(`/mobileDetail/findNetAddr`, {
				...query
			}),
			// 出库仓库/wareSelect/wares
			findckCk:async (query = {}) => await uni.$request.get(`/wareSelect/wares`, {
				...query
			}),
		},
		// 备件详情
		spareInfo: {
			// 获取备件详情1
			getSpareInfo_1: async(custAccId='',acId='',id='') => uni.$request.get(`/mobileWorkSpare/findWorkSare/${custAccId}/${acId}?id=${id}`),
			// 获取备件详情2
			getSpareInfo_2: async(id='') => await uni.$request.get(`/mobileWorkSpare/findWorkSpare?id=${id}`)
		},
		// 物流
		logistics:{
			// 物流列表/mobileLogistics/findLogisticsList
			getLogisticsList:async (params = {}) => await uni.$request.get(`/mobileLogistics/findLogisticsList`, {
			...params
		}),
		// 出库记录/inAndOut/findWareRecord
		getWareRecord:async (params = {}) => await uni.$request.get(`/inAndOut/findWareRecord`, {
			...params
		}),
		},
		// 仓库
		factory:{
			// 仓库列表/mobileWare/findWareList
			getFactoryList:async (params = {}) => await uni.$request.get(`/mobileWare/findWareList`, {
				...params
			}),
			// 仓库库存/stock/findStockListV2
			getFactoryList2:async (params = {}) => await uni.$request.get(`/stock/findStockListV2`, {
				...params
			}),
			// 出库审核人员/inAndOut/authorized/personnel
			personnel:async (params = {}) => await uni.$request.get(`/inAndOut/authorized/personnel`, {
				...params
			}),
			// 制单人员/workSelect/emps
			emps:async (params = {}) => await uni.$request.get(`/workSelect/emps`, {
				...params
			}),
			// 出库类型/
			findWareType:async (params = {}) => await uni.$request.get(`/mobileWareSet/typeList`, {
				...params
			}),
			// 出库网点/cacheData/findNetworkList
			ckNetWork:async (params = {}) => await uni.$request.get(`/cacheData/findNetworkList`, {
				...params
			}),
		},
		// 资金
		money:{
			// 费用报表/mobileFnance/51/getFnanceOrderDaoList
			getFnanceOrderDaoList:async (custAccId='',params = {}) => await uni.$request.post(`/mobileFnance/${custAccId}/getFnanceOrderDaoList`, {
				custAccId,
				...params
			}),
			// 应收应付列表/mobileFnance/51/getReceivePayFnanceList
			getReceivePayFnanceList:async (custAccId='',params = {}) => await uni.$request.post(`/mobileFnance/${custAccId}/getReceivePayFnanceList`, {
				custAccId,
				...params
			}),
			// 收支记录列表/mobileFnance/51/getFnanceLogList
			getFnanceLogList1:async (custAccId='',params = {}) => await uni.$request.post(`/mobileFnance/${custAccId}/getFnanceLogList`, {
				...params
			}),
			// 费用审核前数据/mobileWorkFees/findWorkFees
			getFnanceLogList:async (params = {}) => await uni.$request.get(`/mobileWorkFees/findWorkFees`, {
				...params
			}),
			// 费用审核/mobileWorkFees/checkFees
			checkFees:async (params = {}) => await uni.$request.post(`/mobileWorkFees/checkFees`, {
				...params
			}),
		},
		// 组织架构
		organization:{
			findAllStructure:async (params = {}) => await uni.$request.get(`/structure/findAllStructure`, {
				...params
			}),
			// 控制移动端权限/emp/authorizationMobile
			authorizationMobile:async (params = {}) => await uni.$request.post(`/emp/authorizationMobile`, {
				...params
			}),
		},
		// 角色权限
		authority:{
			// /roleMenu/findRoles
			getRoles:async (params = {}) => await uni.$request.get(`/roleMenu/findRoles`, {
				...params
			}),
			// 删除角色/roleMenu/del/
			removeRole:async (custAccId='',acId='',params = {}) => await uni.$request.get(`/roleMenu/del/${custAccId}/${acId}`, {
				...params
			}),
			// 权限功能接口/roleMenu/menuAllMobile
			getMenuRole:async (params = {}) => await uni.$request.get(`/roleMenu/menuAllMobile`, {
				...params
			}),
			// 权限功能接口2roleMenu/menuAll
			getMenuRole2:async (params = {}) => await uni.$request.get(`/roleMenu/menuAll`, {
				...params
			}),
			// 保存权限接口/roleMenu/role/menubar/update
			saveRole:async (params = {}) => await uni.$request.get(`/roleMenu/role/menubar/update`, {
				...params
			}),
			// 员工数据/emp/empList
			getEmpList:async (params = {}) => await uni.$request.get(`/emp/empList`, {
				...params
			}),
			// 编辑角色保存接口/roleMenu/updateEmp
			// {
			//     "role": {
			//         "id": "207",   //角色id
			//         "roName": "xxx"  //名称
			//     },
			//     "addAcIds": [  //新的员工id
			//         "112"
			//     ],
			//     "delAcIds": []  //删除了的员工id
			// 没删除员工则不传delAcIds，删除了原本选择的员工就传入id
			// }
			editEmp:async (custAccId='',acId='',params = {}) => await uni.$request.post(`/roleMenu/updateEmp/${custAccId}/${acId }`, {
				custAccId,
				acId,
				...params
			}),
			getRole:async (params = {}) => await uni.$request.get(`/roleMenu/role`, {
				...params
			}),
			getRoleMobile:async (params = {}) => await uni.$request.get(`/roleMenu/roleMobile`, {
				...params
			}),
			// 修改保存权限接口/roleMenu/role/menubar/update
			roleUpdate:async (custAccId='',acId='',params = {}) => await uni.$request.post(`/roleMenu/role/menubar/update/${custAccId}/${acId }`, {
				...params
			}),
			roleUpdateMobile:async (custAccId='',acId='',params = {}) => await uni.$request.post(`/roleMenu/role/menubar/updateMobile/${custAccId}/${acId }`, {
				...params
			}),
			// 编辑角色查询员工/roleMenu/findByRoleId
			findByRoleId:async (params = {}) => await uni.$request.get(`/roleMenu/findByRoleId`, {
				...params
			}),
			// 新增角色保存接口/roleMenu/addEmpRole
			addEmp:async (acId='',params = {}) => await uni.$request.post(`/roleMenu/addEmpRole/${acId}`, {
				acId,
				...params
			}),
			// 根据部门查询员工/mobileStructure/findAccountList
			findAccountList:async (params = {}) => await uni.$request.post(`/mobileStructure/findAccountList`, {
				...params
			},{
				'content-type': 'application/x-www-form-urlencoded'
			}),
			// 部门编辑/mobileStructure/updateStructure
			UpdateStructure:async (custAccId='',acId='',query) => await uni.$request.post(`/mobileStructure/updateStructure/${custAccId}/${acId}`, {
				...query
			}),
			// 部门编辑详情查询/mobileStructure/findStructureById
			FindStructureById:async (params = {}) => await uni.$request.get(`/mobileStructure/findStructureById`, {
				...params
			}),
			// 查询员工/mobileStructure/findAllEmp
			findAllEmp:async (params = {}) => await uni.$request.get(`/mobileStructure/findAllEmp`, {
				...params
			}),
			// 新增部门保存接口/mobileStructure/addStructure
			addStructure:async (acId='',params = {}) => await uni.$request.post(`/mobileStructure/addStructure/${acId}`, {
				...params
			}),
			// 新增员工保存接口/empLogin/pullEmp
			pullEmp:async (params = {}) => await uni.$request.get(`/empLogin/pullEmp`, {
				...params
			}),
			// 新增员工查询账号接口/empLogin/inquireAccount
			inquireAccount:async (params = {}) => await uni.$request.get(`/empLogin/inquireAccount`, {
				...params
			}),
			// 新增员工查询所有角色权限/mobileEmpRole/findAllRole
			findAllRole:async (params = {}) => await uni.$request.get(`/mobileEmpRole/findAllRole`, {
				...params
			}),
			// 删除接口/emp/deleteEmpById
			deleteEmpById:async (params = {}) => await uni.$request.get(`/emp/deleteEmpById`, {
				...params
			}),
			// 编辑员工/emp/updateEmp/
			updateEmp:async (acId='',params = {}) => await uni.$request.post(`/emp/updateEmp/${acId}`, {
				...params
			}),
			// 员工详情/emp/findEmpInfoById
			findEmpInfoById:async (params = {}) => await uni.$request.get(`/emp/findEmpInfoById`, {
				...params
			}),
		},
		// 通用
		currency: {
			// 获取省级地址
			getAddressFather: async () => await uni.$request.get(`/address/father`),
			// 获取次级地址
			getAddressChild: async (pid = '') => await uni.$request.get(`/address/child?pid=${pid}`),
			// 获取业务类型搜索项
			getWareType: async (custAccId = '') => await uni.$request.get(`/mobileWareSelect/findWareType?custAccId=${custAccId}`),
			// 获取仓库搜索项
			getWares: async (custAccId = '') => await uni.$request.get(`/mobileWareSelect/wares?custAccId=${custAccId}`),
			
			// 首页数据-数据项
			getConsoleQuantity: async (custAccId = '') => await uni.$request.get(`/console/quantity?custAccId=${custAccId}`),
			// 首页数据-柱状图
			getConsoleMalfunction: async (custAccId = '') => await uni.$request.get(`/console/malfunction?custAccId=${custAccId}`),
			// 首页数据-区域分布-饼图
			getConsoleAddress: async (custAccId = '') => await uni.$request.get(`/console/address?custAccId=${custAccId}`),
			// 首页数据-实时数据-折线图
			getConsoleSummaryGraph: async (custAccId = '',acId='',roleId='') => await uni.$request.get(`/console/summaryGraph?custAccId=${custAccId}&acId=${acId}&roleId=${roleId}`),
			
			// 协议
			getProtocolAndPrivacy: async () => await uni.$request.get(`/protocol/getProtocolAndPrivacy`),
		},
	};
}